package sjtu.rfid.rri.services.ale.reading;

import java.io.Serializable;
import java.util.List;

public class ECBoundarySpec implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5321441784846748168L;

	private ECTrigger startTrigger; // deprecated
	private List<ECTrigger> startTriggerList;
	private ECTime repeatPeriod;
	private ECTrigger stopTrigger; // deprecated
	private List<ECTrigger> stopTriggerList;
	private ECTime duration;
	private ECTime stableSetInterval;
	boolean whenDataAvailable;

	public ECTrigger getStartTrigger() {
		return startTrigger;
	}

	public void setStartTrigger(ECTrigger startTrigger) {
		this.startTrigger = startTrigger;
	}

	public List<ECTrigger> getStartTriggerList() {
		return startTriggerList;
	}

	public void setStartTriggerList(List<ECTrigger> startTriggerList) {
		this.startTriggerList = startTriggerList;
	}

	public ECTime getRepeatPeriod() {
		return repeatPeriod;
	}

	public void setRepeatPeriod(ECTime repeatPeriod) {
		this.repeatPeriod = repeatPeriod;
	}

	public ECTrigger getStopTrigger() {
		return stopTrigger;
	}

	public void setStopTrigger(ECTrigger stopTrigger) {
		this.stopTrigger = stopTrigger;
	}

	public List<ECTrigger> getStopTriggerList() {
		return stopTriggerList;
	}

	public void setStopTriggerList(List<ECTrigger> stopTriggerList) {
		this.stopTriggerList = stopTriggerList;
	}

	public ECTime getDuration() {
		return duration;
	}

	public void setDuration(ECTime duration) {
		this.duration = duration;
	}

	public ECTime getStableSetInterval() {
		return stableSetInterval;
	}

	public void setStableSetInterval(ECTime stableSetInterval) {
		this.stableSetInterval = stableSetInterval;
	}

	public boolean isWhenDataAvailable() {
		return whenDataAvailable;
	}

	public void setWhenDataAvailable(boolean whenDataAvailable) {
		this.whenDataAvailable = whenDataAvailable;
	}

}
